/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.enterprise.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.base.BaseEntity;
import org.springblade.core.tool.utils.DateUtil;

import java.util.Date;


/**
 * 实体类
 *
 * @author BladeX
 * @since 2021-08-19
 */
@Data
@TableName("esms_policy_info")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "PolicyInfo对象", description = "PolicyInfo对象")
public class PolicyInfo extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 标题
	 */
	@ApiModelProperty(value = "标题")
	private String title;
	/**
	 * 政策级别
	 */
	@ApiModelProperty(value = "政策级别")
	private String regionCode;
	/**
	 * 开始时间
	 */
	@JsonFormat(pattern = DateUtil.PATTERN_DATETIME)
	@ApiModelProperty(value = "开始时间")
	private Date startTime;
	/**
	 * 截止时间
	 */
	@JsonFormat(pattern = DateUtil.PATTERN_DATETIME)
	@ApiModelProperty(value = "截止时间")
	private Date expireTime;
	/**
	 * 文号
	 */
	@ApiModelProperty(value = "文号")
	private String no;
	/**
	 * 法人电话
	 */
	@ApiModelProperty(value = "法人电话")
	private String phone;
	/**
	 * 关键字
	 */
	@ApiModelProperty(value = "关键字")
	private String keyword;
	/**
	 * 归属部门
	 */
	@ApiModelProperty(value = "归属部门")
	private String department;
	/**
	 * 受理(申请)条件
	 */
	@ApiModelProperty(value = "受理(申请)条件")
	private String applyLimit;
	/**
	 * 类别
	 */
	@ApiModelProperty(value = "类别")
	private String category;
	/**
	 * 正文
	 */
	@ApiModelProperty(value = "正文")
	private String content;
	/**
	 * 审核状态码
	 */
	@ApiModelProperty(value = "审核状态码")
	private String approveCode;
	/**
	 * 审核时间
	 */
	@JsonFormat(pattern = DateUtil.PATTERN_DATETIME)
	@ApiModelProperty(value = "审核时间")
	private Date approveTime;
	/**
	 * 审核理由
	 */
	@ApiModelProperty(value = "审核理由")
	private String approvePs;
	/**
	 * 备用flag
	 */
	@ApiModelProperty(value = "备用flag")
	private Integer availability;
	/**
	 * 细项
	 */
	@ApiModelProperty(value = "细项")
	private String backUp2;
	/**
	 * 政策介绍
	 */
	@ApiModelProperty(value = "政策介绍")
	private String backUp3;
	/**
	 * 发布时间
	 */
	@JsonFormat(pattern = DateUtil.PATTERN_DATETIME)
	@ApiModelProperty(value = "发布时间")
	private Date publishTime;
	/**
	 * 重要提示
	 */
	@ApiModelProperty(value = "重要提示")
	private String important;
	/**
	 * 办理流程
	 */
	@ApiModelProperty(value = "办理流程")
	private String handingProcess;
	/**
	 * 流程实例ID
	 */
	@ApiModelProperty(value = "流程实例ID")
	private String proInstanceId;

	/**
	 * 跳转目标办理路径
	 */
	@ApiModelProperty(value = "跳转目标办理路径")
	private String redirectTarget;

}
